package com.example.user.myhjjf_app.model;

import java.util.List;

/**
 * Created by User on 2017/9/4.
 */

public class Model_Oc {

    /**
     * success : true
     * value : [{"id":"8a21459c5b3d0ba0015b55d10edc0012","name":"师专光交箱至木陇医务室光交箱管道光缆","count":"216","county":"兴义","liable":"","zone_id":"402883b95939b53701593a7371650021","depart_id":"8a8ab0b246dc81120146dc8180a20016","from_id":"8a21459c5b3d0ba0015b55c90ee40009","to_id":"8a21459c5b3d0ba0015b55d03cd20010","start_lng":"104.985289","start_lat":"25.164214","end_lng":"104.986582","end_lat":"25.166569","line_type":2,"points":"[{\"lng\":104.985289,\"lat\":25.164214},{\"lng\":104.986582,\"lat\":25.166569}]","maintain_length":null,"length":null},{"id":"8a21459c5b3d0ba0015b55d296db0016","name":"木陇医务室光交至铁路医院光交箱管道光缆","count":"216","county":"兴义","liable":"","zone_id":"402883b95939b53701593a7371650021","depart_id":"8a8ab0b246dc81120146dc8180a20016","from_id":"8a21459c5b3d0ba0015b55d03cd20010","to_id":"8a21459c5b3d0ba0015b55d185550014","start_lng":"104.986582","start_lat":"25.166569","end_lng":"104.999302","end_lat":"25.168662","line_type":2,"points":"[{\"lng\":104.986582,\"lat\":25.166569},{\"lng\":104.990958,\"lat\":25.169974},{\"lng\":104.993833,\"lat\":25.169843},{\"lng\":104.996707,\"lat\":25.169385},{\"lng\":104.999302,\"lat\":25.168662}]","maintain_length":null,"length":null}]
     * exception : null
     */

    private boolean success;
    private Object exception;
    private List<ValueBean> value;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getException() {
        return exception;
    }

    public void setException(Object exception) {
        this.exception = exception;
    }

    public List<ValueBean> getValue() {
        return value;
    }

    public void setValue(List<ValueBean> value) {
        this.value = value;
    }

    public static class ValueBean {
        /**
         * id : 8a21459c5b3d0ba0015b55d10edc0012
         * name : 师专光交箱至木陇医务室光交箱管道光缆
         * count : 216
         * county : 兴义
         * liable :
         * zone_id : 402883b95939b53701593a7371650021
         * depart_id : 8a8ab0b246dc81120146dc8180a20016
         * from_id : 8a21459c5b3d0ba0015b55c90ee40009
         * to_id : 8a21459c5b3d0ba0015b55d03cd20010
         * start_lng : 104.985289
         * start_lat : 25.164214
         * end_lng : 104.986582
         * end_lat : 25.166569
         * line_type : 2
         * points : [{"lng":104.985289,"lat":25.164214},{"lng":104.986582,"lat":25.166569}]
         * maintain_length : null
         * length : null
         */

        private String id;
        private String name;
        private String count;
        private String county;
        private String liable;
        private String zone_id;
        private String depart_id;
        private String from_id;
        private String to_id;
        private String start_lng;
        private String start_lat;
        private String end_lng;
        private String end_lat;
        private int line_type;
        private String points;
        private Object maintain_length;
        private Object length;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCount() {
            return count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public String getCounty() {
            return county;
        }

        public void setCounty(String county) {
            this.county = county;
        }

        public String getLiable() {
            return liable;
        }

        public void setLiable(String liable) {
            this.liable = liable;
        }

        public String getZone_id() {
            return zone_id;
        }

        public void setZone_id(String zone_id) {
            this.zone_id = zone_id;
        }

        public String getDepart_id() {
            return depart_id;
        }

        public void setDepart_id(String depart_id) {
            this.depart_id = depart_id;
        }

        public String getFrom_id() {
            return from_id;
        }

        public void setFrom_id(String from_id) {
            this.from_id = from_id;
        }

        public String getTo_id() {
            return to_id;
        }

        public void setTo_id(String to_id) {
            this.to_id = to_id;
        }

        public String getStart_lng() {
            return start_lng;
        }

        public void setStart_lng(String start_lng) {
            this.start_lng = start_lng;
        }

        public String getStart_lat() {
            return start_lat;
        }

        public void setStart_lat(String start_lat) {
            this.start_lat = start_lat;
        }

        public String getEnd_lng() {
            return end_lng;
        }

        public void setEnd_lng(String end_lng) {
            this.end_lng = end_lng;
        }

        public String getEnd_lat() {
            return end_lat;
        }

        public void setEnd_lat(String end_lat) {
            this.end_lat = end_lat;
        }

        public int getLine_type() {
            return line_type;
        }

        public void setLine_type(int line_type) {
            this.line_type = line_type;
        }

        public String getPoints() {
            return points;
        }

        public void setPoints(String points) {
            this.points = points;
        }

        public Object getMaintain_length() {
            return maintain_length;
        }

        public void setMaintain_length(Object maintain_length) {
            this.maintain_length = maintain_length;
        }

        public Object getLength() {
            return length;
        }

        public void setLength(Object length) {
            this.length = length;
        }
    }
}
